<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BListItem</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BListItem">
			<h1>BListItem</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p><h2>public</h2>
			<table id="public">
				<tr><td align="right"/><td><a href="#BListItem()">BListItem</a>();</td></tr>
				<tr><td align="right"/><td><a href="#BListItem(const BString&)">BListItem</a>(const BString&amp; text);</td></tr>
				<tr><td align="right"/><td><a href="#BListItem(Graph,const BString&)">BListItem</a>(Graph graph, const BString&amp; text = BString());</td></tr>
				<tr><td align="right"/><td><a href="#BListItem(BIcon*,const BString&)">BListItem</a>(BIcon* icon, const BString&amp; text = BString());</td></tr>
				<tr><td align="right"/><td><a href="#BListItem(BImage*,const BString&)">BListItem</a>(BImage* image, const BString&amp; text = BString());</td></tr>
				<tr><td align="right"/><td><a href="#BListItem(BWidget*,const BString&)">BListItem</a>(BWidget* widget, const BString&amp; text = BString());</td></tr>
				<tr><td align="right"/><td><a href="#~BListItem()">~BListItem</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#setVisible(bool)">setVisible</a>(bool visible);</td></tr>
				<tr><td align="right">bool </td><td><a href="#visible() const">visible</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setForm(Form)">setForm</a>(Form form);</td></tr>
				<tr><td align="right">Form </td><td><a href="#form() const">form</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setAlign(Align)">setAlign</a>(Align align);</td></tr>
				<tr><td align="right">Align </td><td><a href="#align() const">align</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setSpacing(int)">setSpacing</a>(int spacing);</td></tr>
				<tr><td align="right">int </td><td><a href="#spacing() const">spacing</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setGraph(Graph)">setGraph</a>(Graph graph);</td></tr>
				<tr><td align="right">Graph </td><td><a href="#graph() const">graph</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setIcon(BIcon*)">setIcon</a>(BIcon* icon);</td></tr>
				<tr><td align="right">BIcon* </td><td><a href="#icon() const">icon</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setImage(BImage*)">setImage</a>(BImage* image);</td></tr>
				<tr><td align="right">BImage* </td><td><a href="#image()">image</a>();</td></tr>
				<tr><td align="right">const BImage* </td><td><a href="#image() const">image</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setColor(BByte, BByte, BByte,BByte)">setColor</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setColor(const BColor&)">setColor</a>(const BColor&amp; color);</td></tr>
				<tr><td align="right">const BColor&amp; </td><td><a href="#color() const">color</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setIconSize(int, int)">setIconSize</a>(int iconWidth, int iconHeight);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setIconSize(const BSize&)">setIconSize</a>(const BSize&amp; iconSize);</td></tr>
				<tr><td align="right">const BSize&amp; </td><td><a href="#iconSize() const">iconSize</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setTextFormat(BTextFormat*)">setTextFormat</a>(BTextFormat* textFormat);</td></tr>
				<tr><td align="right">const BTextFormat* </td><td><a href="#textFormat() const">textFormat</a>() const;</td></tr>
				<tr><td align="right">BTextFormat* </td><td><a href="#textFormat()">textFormat</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setBackground(BByte, BByte, BByte,BByte)">setBackground</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">void </td><td><a href="#setBackground(const BColor&)">setBackground</a>(const BColor&amp; background);</td></tr>
				<tr><td align="right">const BColor&amp; </td><td><a href="#background() const">background</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setForeground(BByte, BByte, BByte,BByte)">setForeground</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">void </td><td><a href="#setForeground(const BColor&)">setForeground</a>(const BColor&amp; foreground);</td></tr>
				<tr><td align="right">const BColor&amp; </td><td><a href="#foreground() const">foreground</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setBorder(int)">setBorder</a>(int border);</td></tr>
				<tr><td align="right">int </td><td><a href="#border() const">border</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMargin(const BMargin&)">setMargin</a>(const BMargin&amp; margin);</td></tr>
				<tr><td align="right">const BMargin&amp; </td><td><a href="#margin() const">margin</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setRadius(const BSize&,PartFlag)">setRadius</a>(const BSize&amp; radius, PartFlag part = Part_All);</td></tr>
				<tr><td align="right">void </td><td><a href="#setRadius(const BSize&, const BSize&, const BSize&, const BSize&)">setRadius</a>(const BSize&amp; leftTop, const BSize&amp; rightTop, const BSize&amp; rightBottom, const BSize&amp; leftBottom);</td></tr>
				<tr><td align="right">BSize </td><td><a href="#radius(PartFlag)">radius</a>(PartFlag part);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setWidget(BWidget*)">setWidget</a>(BWidget* wideget);</td></tr>
				<tr><td align="right">BWidget* </td><td><a href="#widget() const">widget</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setText(const BString&)">setText</a>(const BString&amp; text);</td></tr>
				<tr><td align="right">const BString&amp; </td><td><a href="#text() const">text</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setTips(const BString&)">setTips</a>(const BString&amp; tips);</td></tr>
				<tr><td align="right">const BString&amp; </td><td><a href="#tips() const">tips</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setSelected(bool)">setSelected</a>(bool selected);</td></tr>
				<tr><td align="right">bool </td><td><a href="#selected() const">selected</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setChecked(bool)">setChecked</a>(bool checked);</td></tr>
				<tr><td align="right">bool </td><td><a href="#checked() const">checked</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setIndex(int)">setIndex</a>(int index);</td></tr>
				<tr><td align="right">int </td><td><a href="#index() const">index</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#raise()">raise</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#lower()">lower</a>();</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#prev()">prev</a>();</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#prev() const">prev</a>() const;</td></tr>
				<tr><td align="right">BListItem* </td><td><a href="#next()">next</a>();</td></tr>
				<tr><td align="right">const BListItem* </td><td><a href="#next() const">next</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#hovered() const">hovered</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#fresh() const">fresh</a>() const;</td></tr>
				<tr><td align="right">BRect </td><td><a href="#rect() const">rect</a>() const;</td></tr>
				<tr><td align="right">BRect </td><td><a href="#iconRect() const">iconRect</a>() const;</td></tr>
				<tr><td align="right">BRect </td><td><a href="#textRect() const">textRect</a>() const;</td></tr>
				<tr><td align="right">BRect </td><td><a href="#textArea() const">textArea</a>() const;</td></tr>
				<tr><td align="right">BListWidget* </td><td><a href="#listWidget()">listWidget</a>();</td></tr>
				<tr><td align="right">const BListWidget* </td><td><a href="#listWidget() const">listWidget</a>() const;</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2><p>列表项有开关（checked）状态，以使用状态支持完整，且提供更丰富的功能。但没有checkable值，因为列表项的点击操作会产生选中（selected)操作，所以checked状态常作为用户自定义属性使用。要改变开关状态需要调用方法setChecked(bool)进行修改。</p>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BListItem()">
				<h3>BListItem();</h3>
			</div>
			<div id="BListItem(const BString&)">
				<h3>BListItem(const BString&amp; text);</h3>
			</div>
			<div id="BListItem(Graph,const BString&)">
				<h3>BListItem(Graph graph, const BString&amp; text = BString());</h3>
			</div>
			<div id="BListItem(BIcon*,const BString&)">
				<h3>BListItem(BIcon* icon, const BString&amp; text = BString());</h3>
			</div>
			<div id="BListItem(BImage*,const BString&)">
				<h3>BListItem(BImage* image, const BString&amp; text = BString());</h3>
			</div>
			<div id="BListItem(BWidget*,const BString&)">
				<h3>BListItem(BWidget* widget, const BString&amp; text = BString());</h3>
			</div>
			<div id="~BListItem()">
				<h3>~BListItem();</h3>
			</div>
			<div id="setVisible(bool)">
				<h3>bool setVisible(bool visible);</h3>
			</div>
			<div id="visible() const">
				<h3>bool visible() const;</h3>
			</div>
			<div id="setForm(Form)">
				<h3>bool setForm(Form form);</h3>
			</div>
			<div id="form() const">
				<h3>Form form() const;</h3>
			</div>
			<div id="setAlign(Align)">
				<h3>bool setAlign(Align align);</h3>
			</div>
			<div id="align() const">
				<h3>Align align() const;</h3>
			</div>
			<div id="setSpacing(int)">
				<h3>bool setSpacing(int spacing);</h3>
			</div>
			<div id="spacing() const">
				<h3>int spacing() const;</h3>
			</div>
			<div id="setGraph(Graph)">
				<h3>bool setGraph(Graph graph);</h3>
			</div>
			<div id="graph() const">
				<h3>Graph graph() const;</h3>
			</div>
			<div id="setIcon(BIcon*)">
				<h3>bool setIcon(BIcon* icon);</h3>
			</div>
			<div id="icon() const">
				<h3>BIcon* icon() const;</h3>
			</div>
			<div id="setImage(BImage*)">
				<h3>bool setImage(BImage* image);</h3>
			</div>
			<div id="image()">
				<h3>BImage* image();</h3>
			</div>
			<div id="image() const">
				<h3>const BImage* image() const;</h3>
			</div>
			<div id="setColor(BByte, BByte, BByte,BByte)">
				<h3>bool setColor(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="setColor(const BColor&)">
				<h3>bool setColor(const BColor&amp; color);</h3>
			</div>
			<div id="color() const">
				<h3>const BColor&amp; color() const;</h3>
			</div>
			<div id="setIconSize(int, int)">
				<h3>bool setIconSize(int iconWidth, int iconHeight);</h3>
			</div>
			<div id="setIconSize(const BSize&)">
				<h3>bool setIconSize(const BSize&amp; iconSize);</h3>
			</div>
			<div id="iconSize() const">
				<h3>const BSize&amp; iconSize() const;</h3>
			</div>
			<div id="setTextFormat(BTextFormat*)">
				<h3>void setTextFormat(BTextFormat* textFormat);</h3>
			</div>
			<div id="textFormat() const">
				<h3>const BTextFormat* textFormat() const;</h3>
			</div>
			<div id="textFormat()">
				<h3>BTextFormat* textFormat();</h3>
			</div>
			<div id="setBackground(BByte, BByte, BByte,BByte)">
				<h3>void setBackground(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="setBackground(const BColor&)">
				<h3>void setBackground(const BColor&amp; background);</h3>
			</div>
			<div id="background() const">
				<h3>const BColor&amp; background() const;</h3>
			</div>
			<div id="setForeground(BByte, BByte, BByte,BByte)">
				<h3>void setForeground(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="setForeground(const BColor&)">
				<h3>void setForeground(const BColor&amp; foreground);</h3>
			</div>
			<div id="foreground() const">
				<h3>const BColor&amp; foreground() const;</h3>
			</div>
			<div id="setBorder(int)">
				<h3>void setBorder(int border);</h3>
			</div>
			<div id="border() const">
				<h3>int border() const;</h3>
			</div>
			<div id="setMargin(const BMargin&)">
				<h3>void setMargin(const BMargin&amp; margin);</h3>
			</div>
			<div id="margin() const">
				<h3>const BMargin&amp; margin() const;</h3>
			</div>
			<div id="setRadius(const BSize&,PartFlag)">
				<h3>void setRadius(const BSize&amp; radius, PartFlag part = Part_All);</h3>
			</div>
			<div id="setRadius(const BSize&, const BSize&, const BSize&, const BSize&)">
				<h3>void setRadius(const BSize&amp; leftTop, const BSize&amp; rightTop, const BSize&amp; rightBottom, const BSize&amp; leftBottom);</h3>
			</div>
			<div id="radius(PartFlag)">
				<h3>BSize radius(PartFlag part);</h3>
			</div>
			<div id="setWidget(BWidget*)">
				<h3>bool setWidget(BWidget* wideget);</h3>
			</div>
			<div id="widget() const">
				<h3>BWidget* widget() const;</h3>
			</div>
			<div id="setText(const BString&)">
				<h3>bool setText(const BString&amp; text);</h3>
			</div>
			<div id="text() const">
				<h3>const BString&amp; text() const;</h3>
			</div>
			<div id="setTips(const BString&)">
				<h3>void setTips(const BString&amp; tips);</h3>
			</div>
			<div id="tips() const">
				<h3>const BString&amp; tips() const;</h3>
			</div>
			<div id="setSelected(bool)">
				<h3>bool setSelected(bool selected);</h3>
			</div>
			<div id="selected() const">
				<h3>bool selected() const;</h3>
			</div>
			<div id="setChecked(bool)">
				<h3>void setChecked(bool checked);</h3>
			</div>
			<div id="checked() const">
				<h3>bool checked() const;</h3>
			</div>
			<div id="setIndex(int)">
				<h3>bool setIndex(int index);</h3>
			</div>
			<div id="index() const">
				<h3>int index() const;</h3>
			</div>
			<div id="raise()">
				<h3>bool raise();</h3>
			</div>
			<div id="lower()">
				<h3>bool lower();</h3>
			</div>
			<div id="prev()">
				<h3>BListItem* prev();</h3>
			</div>
			<div id="prev() const">
				<h3>const BListItem* prev() const;</h3>
			</div>
			<div id="next()">
				<h3>BListItem* next();</h3>
			</div>
			<div id="next() const">
				<h3>const BListItem* next() const;</h3>
			</div>
			<div id="hovered() const">
				<h3>bool hovered() const;</h3>
			</div>
			<div id="fresh() const">
				<h3>bool fresh() const;</h3>
			</div>
			<div id="rect() const">
				<h3>BRect rect() const;</h3>
			</div>
			<div id="iconRect() const">
				<h3>BRect iconRect() const;</h3>
			</div>
			<div id="textRect() const">
				<h3>BRect textRect() const;</h3>
			</div>
			<div id="textArea() const">
				<h3>BRect textArea() const;</h3>
			</div>
			<div id="listWidget()">
				<h3>BListWidget* listWidget();</h3>
			</div>
			<div id="listWidget() const">
				<h3>const BListWidget* listWidget() const;</h3>
			</div>
		</div>
	</body>
</html>